package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Address;

import java.util.List;

public interface AddressService {

    void add(Address address);

    PageResult findPage(QueryPageBean queryPageBean);

    Address findById(int id);

    void edit(Address address);

    void deleteById(int id);

    List<Address> findAll();
}
